package com.lorizz.model;

import java.io.Serializable;
import java.util.List;

public interface Repository<T, ID extends Serializable> {
    
    T create();

    T load(ID id);
    
    List<T> findAll();
    
    T persist(T entity);
    
    void remove(T entity);
}
